Reference with more details: https://adamspannbauer.github.io/hosting-Rmds-with-GitHub-Pages/
There are many portfolio options besides Rmd files. I think this is a pretty attractive one for you because:
index.htmllibrary(ggplot2)
library(plotly)
head(msleep[, c("name", "vore", "sleep_total", "brainwt")])
## # A tibble: 6 × 4
## name vore sleep_total brainwt
## <chr> <chr> <dbl> <dbl>
## 1 Cheetah carni 12.1 NA
## 2 Owl monkey omni 17 0.0155
## 3 Mountain beaver herbi 14.4 NA
## 4 Greater short-tailed shrew omni 14.9 0.00029
## 5 Cow herbi 4 0.423
## 6 Three-toed sloth herbi 14.4 NA
# * [ ] Create a plot of brainwt and sleep_total colored by vore
# * [ ] Convert plot to be plotly
p <- ggplot(msleep, aes(x = log(brainwt), y = sleep_total, color = vore)) +
geom_point()
p
ggplotly(p)
knitr::include_url()
https://public.tableau.com/views; if it mentions
user it will fail (this bullet will prolly fall out of
date)?:showVizHome=no&:embed=true right after the dashboard
name
https://public.tableau.com/views/recreate-test-f23/Dashboard1?:language=en-US&:display_count=n&:origin=viz_share_linkhttps://public.tableau.com/views/recreate-test-f23/Dashboard1?:showVizHome=no&:embed=trueProlly good to have a link to the live tableau dashboard as well. Let’s add one with markdown syntax.
Check out the full dashboard on Tableau Public!
There are some built-in themes you can use by specifying in
theme (shown in next little code chunk); the available
themes are: cerulean, cosmo,
cyborg, darkly, flatly,
journal, lumen, paper,
readable, sandstone, simplex,
slate, spacelab, superhero,
united, yeti.
---
title: "Example using theme"
author: "Me"
date: "2024-04-29"
output:
html_document:
theme: darkly
---
More themes are available many ways, but one more example to show how
you can theme with the bslib package (requires
install.packages('bslib') first).
---
title: "Example using theme"
author: "Me"
date: "2024-04-29"
output:
html_document:
theme:
bootswatch: vapor
---
If you’re already in the know about CSS, it’s worth noting that you can apply you own style sheet to an Rmd file. See the official R Markdown Cookbook here.
Add a gif or image from online! When doing this you want the URL you
paste to end with .jpg, .png, or
.gif (right click and open image in new tab until you see
it).
An example url: https://i.giphy.com/t3BUt5IaoL4po2SU0o.gif
The formula for SSE is:
\[SSE = ???\]